<%@ page language="java" pageEncoding="utf-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>Login page</title>
</head>
<body>
<div id="loginDiv">
    <form method="post" action="${pageContext.request.contextPath}/admin/login.action">
        <div>
            <label>账号:</label>
            <input type="text" name="name"/>
        </div>
        <div>
            <label>密码:</label>
            <input type="text" name="pwd"/>
        </div>
        <div><input type="submit" value="SUBMIT"></div>
    </form>
</div>
${sessionScope.user.name}
<a href="${pageContext.request.contextPath}/admin/showAllAdmin.action">WWWW</a>
<%=application.getRealPath("/")%>
<a href="${pageContext.request.contextPath}/miui/showAllMiui.action">MMMM</a>
<% out.write("see you");%>
</body>
</html>
